Use the Save As command to save a new image that have never been saved before, or to save an existing image using a different name or file type.
The panel at the bottom of the Save As dialog allows you to set the image quality for the saved image. The specifications for image quality vary from format to format.
Save As dialog